package com.tedu.bill;

/**
 * Author：毕龙
 * Date: 2024/4/10 19:17
 */
public class TestReferenceTransfor {
    public static void main(String[] args) {
        Table t1 = new Table();
        Table t2 = new Table();
        System.out.println( t1 == t2 );
        int a = 10;
        int b = a;
        b += 10;
        System.out.println(a);//10

        t1.kind = "4";
        t1.color = "green";
        t2 = t1;
        t2.kind = "10";
        t1.print();//10 条

    }
}
